﻿using B.S.DataBase.MyProject.Domain.Procurements;
using B.S.DataBase.MyProject.ErrorCode;
using MediatR;
using T.E.ERP.Read.API.Dtos.Dtos;

namespace T.E.ERP.Read.API.Applicantions.Command.ProcurementsCommand
{
    /// <summary>
    /// 采购退货单命令
    /// </summary>
    public class GetPreturnorderCommand:IRequest<APIResult<List<PreturnorderDTO>>>
    {
        ///// <summary>
        ///// 物料编码(外键)
        ///// </summary>
        //public long material_code { get; set; }
        ///// <summary>
        ///// 物料名称
        ///// </summary>
        //public string? material_name { get; set; }

        /// <summary>
        /// 开始日期
        /// </summary>
        public DateTime? BeginDate { get; set; }
        /// <summary>
        /// 结束日期
        /// </summary>
        public DateTime? EndDate { get; set; }
    }
}
